package com.joinway.framework.data.web.bean.view;

import java.util.List;
import java.util.Map;

import org.jsondoc.core.annotation.ApiObject;
import org.jsondoc.core.annotation.ApiObjectField;

import com.joinway.framework.bean.view.View;

@ApiObject(name = "QueryResultSet", description = "RMDB查询SQL结果")
public class QueryResultSet extends View {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@ApiObjectField(description="结果集个数") 
	protected int count;
	
	@ApiObjectField(description="结果集") 
	protected List<Map<String, ?>> rows;

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public List<Map<String, ?>> getRows() {
		return rows;
	}

	public void setRows(List<Map<String, ?>> rows) {
		this.rows = rows;
	}
}
